package com.eliza.springboot.v3.config.properties

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component

// 方案一
@ConfigurationProperties(prefix = "v3.config.basic")
@Component
data class CustomBasicConfig(var port: Int = 0)

